package com.wzf.springdemo.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@TableName("bus_device")
@Accessors(chain = true)
public class BusDevice {


    private Long id;
    private Long pid;
    private Integer type;
    private String name;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createtime;
    private String updateuserid;
    private java.util.Date updatetime;
    private Integer isdeleted;
}
